package com.graduation.rescuematerial.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author CaiShuanglian
 * @since 2022-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CompanyMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 部门名称
     */
    private String companyName;

    /**
     * 物资id
     */
    private Integer materialId;

    /**
     * 库存数量
     */
    private Integer stock;

    /**
     * 损坏数量
     */
    private Integer damageNumber;

    /**
     * 是否紧急
     */
    private Integer status;

    /**
     * 入库人
     */
    private Long phone;

    /**
     * 生产日期
     */
    private Date manufactureDate;

    /**
     * 保质期，以天为单位
     */
    private Integer expirationDate;

    /**
     * 乐观锁
     */
    private Integer version;


}
